Skip to main content

Get Account

'GetAccount' API enables to fetch the details of an account

Bank or financial institution can fetch all the available details of an account, if required. On providing the Account ID as request, all the available details of an account can be fetched out.

Method: POST

{{URL}}/jsonrpc

Example

Request Parameters
ParameterDescription
method

Mandatory
String
API method that is being called to get account details through account service
Constant value: "AccountService.GetAccount"
id

Mandatory
String
Unique ID of API request
Sample value: "1"
params

Mandatory
Object
api

Mandatory
Object
signature

Mandatory
String
Sign the request payload (params.payload) using private key.
Sample value: "MEQCIAbpxHpdOyBEVlmxPYv7m4Z1OvWJJYw7g7u3GE3T9nmvAiBjKHckSvb1M6O4t7FeWsn2z9Y3dMeYn3HyX/k28ek/Dw=="
keyId

Mandatory
String
Key ID is provided at the time of device registration.
Sample value: "348076"
credential

Mandatory
String
Basic (space) ("<Username>:<apiKey>") as Base64 encoded value to be provided
Sample value: "Basic bmF2eWEubitlbXBAbmV0eGQuY29tOmY1OWIwY2NlOTU4ZTQ1YTc4MGVhZWIzYWVjOWVjZDAx"
payload

Mandatory
Object
ID

Mandatory
String
Unique Account ID of the account for which the account details to be fetched
Sample value: "40004"

curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"method":"AccountService.GetAccount","id":"1","params":{"api":{"signature":"{{signature}}","keyId":"{{ApplicationKeyId}}","credential":"{{Credential}}"},"payload":{"ID":"40004"}}}'

Body


{
"method": "AccountService.GetAccount",
"id": "1",
"params": {
"api": {
"signature": "{{signature}}",
"keyId": "{{ApplicationKeyId}}",
"credential": "{{Credential}}"
},
"payload": {
"ID": "40004"
}
}
}

Response: 200

Response Parameters
ParameterDescription
idString
Unique ID of the API request
Sample Value :"1"
jsonrpcString
JSON-RPC protocol version used
Sample Value :"2.0"
resultObject
accountObject
idString
Unique ID of the account
Sample Value : "18492004"
nameString
Account name
Sample Value : "Same Ledger Account"
numberString
Account Number
Sample Value : "200501916028116"
nickNameString
Nickname for the account
Sample Value : "Same Ledger Account"
createdDateString
Date when the account was created (ISO 8601 format)
Sample Value : "2025-02-25T08:25:39.359Z"
updatedDateString
Last updated timestamp of the account
Sample Value : "2025-06-02T10:23:00.039Z"
balanceNumber
Current available balance in the account
Sample Value : 1276
debitBoolean
Indicates if debit is allowed
Sample Value : false
minimumBalanceNumber
Minimum balance required in the account
Sample Value : 0
holdBalanceNumber
Amount on hold in the account
Sample Value : 2300
subLedgerCodeString
Code representing the subledger
Sample Value : "SL_200"
tagsArray of String
Tags related to the account
Sample Value : ["AccountLevel: DEFAULT"]
finalBoolean
Indicates if the account is final
Sample Value : true
parent.IDString
ID of the parent account
Sample Value : "4451002"
result.account.parent.codeString
Code of the parent account
Sample Value : ""
result.account.parent.nameString
Name of the parent account
Sample Value : "Same Ledger PoolAccount"
result.account.parent.numberString
Account Number of the parent account
Sample Value : "900568962876004"
customerIDString
Customer ID associated with the account
Sample Value : "100000000045001"
customerNameString
Customer name
Sample Value : "EnableForAllAccount Test"
institutionNameString
Name of the institution
Sample Value : "XD Legder"
accountCategoryString
Category of the account
Sample Value : "LIABILITY"
accountTypeString
Type of account
Sample Value : "SAVINGS"
currencyString
Currency code in ISO format
Sample Value : "USD"
currencyCodeString
Numeric currency code
Sample Value : "840"
legalReps[].IDString
Legal representative ID
Sample Value : "18335002"
legalReps[].nameString
Name of the legal representative
Sample Value : "Raja"
legalReps[].createdDateString
Creation date of legal rep record
Sample Value : "0001-01-01T00:00:00Z"
legalReps[].updatedDateString
Last update timestamp of legal rep record
Sample Value : "0001-01-01T00:00:00Z"
statusString
Account status
Sample Value : "ACTIVE"
institutionIDString
Institution ID
Sample Value : "101115399"
glAccountString
General Ledger account number
Sample Value : "900568962876004"
DDAAccountBoolean
Indicates if it's a DDA (Demand Deposit Account)
Sample Value : true
address.addressLine1String
Address line 1
Sample Value : "No2"
address.cityString
City
Sample Value : "US"
address.stateString
State
Sample Value : "US"
address.countryString
Country
Sample Value : "US"
address.zipString
ZIP or postal code
Sample Value : "64643"
isVerifyBoolean
Whether the account is verified
Sample Value : true
minimumRouteApproversNumber
Minimum Number of route approvers required
Sample Value : 0
newRouteAlertBoolean
Whether there is a new route alert
Sample Value : false
ceTransactionNumberString
CE transaction reference number
Sample Value : "PL18492005"
accountLevelString
Account level indicator
Sample Value : "DEFAULT"
ledgerBalanceNumber
Ledger balance of the account
Sample Value : 3576
preAuthBalanceNumber
Pre-authorized balance amount
Sample Value : 0
accountFinderSyncBoolean
Whether the account is synced with the account finder
Sample Value : true
isGLVerifyBoolean
Whether GL verification is enabled
Sample Value : false
isShadowAccountBoolean
Indicates if it's a shadow account
Sample Value : false
sweepBoolean
Indicates if sweep is enabled
Sample Value : false
isClosedBoolean
Whether the account is closed
Sample Value : false
programString
Program ID associated with the account
Sample Value : "100000000045001"
productIDString
Product ID (if any)
externalLedgerBoolean
Whether the account is linked to an external ledger
Sample Value : false

{
"id": "1",
"result": {
"account": {
"id": "18492004",
"name": "Same Ledger Account",
"number": "200501916028116",
"nickName": "Same Ledger Account",
"createdDate": "2025-02-25T08:25:39.359Z",
"updatedDate": "2025-06-02T10:23:00.039Z",
"balance": 1276,
"debit": false,
"minimumBalance": 0,
"holdBalance": 2300,
"subLedgerCode": "SL_200",
"tags": [
"AccountLevel: DEFAULT"
],
"final": true,
"parent": {
"ID": "4451002",
"code": "",
"name": "Same Ledger PoolAccount",
"number": "900568962876004"
},
"customerID": "100000000045001",
"customerName": "EnableForAllAccount Test",
"institutionName": "XD Legder",
"accountCategory": "LIABILITY",
"accountType": "SAVINGS",
"currency": "USD",
"currencyCode": "840",
"legalReps": [
{
"ID": "18335002",
"name": "Raja",
"createdDate": "0001-01-01T00:00:00Z",
"updatedDate": "0001-01-01T00:00:00Z"
}
],
"status": "ACTIVE",
"institutionID": "101115399",
"glAccount": "900568962876004",
"DDAAccount": true,
"address": {
"addressLine1": "No2",
"city": "US",
"state": "US",
"country": "US",
"zip": "64643"
},
"isVerify": true,
"minimumRouteApprovers": 0,
"newRouteAlert": false,
"ceTransactionNumber": "PL18492005",
"accountLevel": "DEFAULT",
"ledgerBalance": 3576,
"preAuthBalance": 0,
"accountFinderSync": true,
"isGLVerify": false,
"isShadowAccount": false,
"sweep": false,
"isClosed": false,
"program": "100000000045001",
"productID": "",
"externalLedger": false
}
},
"jsonrpc": "2.0"
}

Error Codes

Error Codes
Error CodeError MessageRecommended Action
BAD_INPUTID is invalid or missing"ID" is empty. Please provide a valid Account Id
UNAUTHORIZEDAccess DeniedAccess Denied. Please Check with Support Team
NOT_FOUND_ACCOUNTAccount doesn't existsAccount doesn't exists. Please provide a valid Account Id
INVALID_SIGNATUREInvalid SignatureSignature is invalid. Please ensure correct key, algorithm and signature process is followed
NOT_FOUND_USER_DEVICEUser device not foundInvalid Key Id. please provide valid Key ID
BAD_CREDENTIALInvalid CredentialInvalid credential. Please verify the credentials provided.